import Vue from "vue";
import ElementUI from "element-ui";
import vueDebounce, { PluginConfig } from "vue-debounce";

import App from "./App.vue";

import router from "@/router";
import "@/router/permission";

import store from "./store";

import "element-ui/lib/theme-chalk/index.css";

Vue.use(ElementUI);
Vue.use<PluginConfig>(vueDebounce, { lock: true });

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
